package pojo;

import java.time.LocalDateTime;

public class Book2 {
    private String id;
    //分类ID
    private Long categoryId;

    //图书名
    private String name;

    //作者名
    private String author;

    //出版社
    private String publisher;

    //图书价格
    private Double price;

    //图片路径
    private String imageName;

    //图书描述
    private String description;

    //状态 1正常 0禁止销售
    private Integer status;

    //创建时间
    private LocalDateTime createTime;

    //更新时间
    private LocalDateTime updateTime;

    //图书名
    private Integer isDeleted;

    public Book2() {
    }

    public Book2(String id, Long categoryId, String name, String author, String publisher, Double price, String imageName, String description, Integer status, LocalDateTime createTime, LocalDateTime updateTime, Integer isDeleted) {
        this.id = id;
        this.categoryId = categoryId;
        this.name = name;
        this.author = author;
        this.publisher = publisher;
        this.price = price;
        this.imageName = imageName;
        this.description = description;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
